﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ManagePageSEO.aspx.vb" Inherits="Arwani.Backend_ManageExhibition" %>

<%@ Register src="Menu.ascx" tagname="Menu" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title> Arwani Backend Panel</title>
    <script src="../js/jquery.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function postSortOrder(sortOrder, tableName, whereID, valueID) {
            $('#div_result').html('<input  type="image" src="../images/loading.gif" />');
            $.post("UpdateSortOrder.aspx", { sortOrder: sortOrder, tableName: tableName, whereID: whereID, valueID: valueID }, function (data) {
                $('#div_result').html(data);
            });
        }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table border="0" cellpadding="2" cellspacing="2" width="100%" align="center">
        <tr>
            <td align="center">
                 
                
                <uc1:Menu ID="Menu1" runat="server" />
                 
                
            </td>

        </tr>
        <tr>
        <td align="right" style="padding-right:80px;">
            <asp:HyperLink ID="lnkAddNewPageInformation" runat="server" NavigateUrl="AddPageSEO.aspx">Add New Page Information</asp:HyperLink>
        </td>
        </tr><tr>
                <td align="center" style="height: 5px">
            <asp:Label ID="lblHeading" runat="server" Font-Size="XX-Large" 
                Font-Underline="True" ForeColor="Black">Page SEO Information</asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center">
                   <div id="div_result" style="color:Red"></div></td>
            </tr>
        <tr>
        <td align="center">
            <asp:DataGrid ID="dg" runat="server" AutoGenerateColumns="False"    DataKeyField="id"
            AllowPaging="False"  CellPadding="4" ForeColor="#333333" GridLines="None" OnItemDataBound="dg_ItemDataBound" CssClass="table">
                        <AlternatingItemStyle BackColor="White" />
                        <Columns>
                         <asp:BoundColumn DataField="PageName" ItemStyle-Width="100px" HeaderText="Page Name"></asp:BoundColumn>
                            <asp:BoundColumn DataField="title" ItemStyle-Width="250px" HeaderText="Page Title">   </asp:BoundColumn>
                            <asp:BoundColumn DataField="Description"  ItemStyle-Width="300px" HeaderText="Description"></asp:BoundColumn>
                              <asp:BoundColumn DataField="keywords" ItemStyle-Width="300px" HeaderText="Keywords"></asp:BoundColumn>
                            <asp:TemplateColumn>
                                <ItemTemplate>
                                <a href="EditPageSEO.aspx?id=<%#DataBinder.Eval(Container.DataItem,"id") %>"> Edit</a>
                                   
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:TemplateColumn>
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkDelete" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"id") %>'  CommandName="Delete">Delete</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <EditItemStyle BackColor="#2461BF" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle Font-Bold="True" BackColor="#507CD1" ForeColor="White" />
                        <ItemStyle BackColor="#EFF3FB" />
                        <PagerStyle HorizontalAlign="Center" 
                            Mode="NumericPages" VerticalAlign="Middle" BackColor="#2461BF" 
                            ForeColor="White" />
                        <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    </asp:DataGrid>
        </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
